﻿using System;
using System.Runtime.Serialization;

namespace NCMIS.ObjectModel.MetaData
{
    /// <summary>
    /// Defines the precision, in bits, supported by the decimal object-type property.
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmis)]
    public enum DecimalPrecision
    {
        /// <summary>
        /// 32-bit precision; single precision as specified in IEEE-754-1985.
        /// </summary>
        [EnumMember(Value = "32")]
        Item32 = 32,

        /// <summary>
        /// 64-bit precision; double precision as specified in IEEE-754-1985.
        /// </summary>
        [EnumMember(Value = "64")]
        Item64 = 64,
    }
}
